import request from '@/utils/request'

// 获取预警分析
export function getWarningAnalysis(params) {
  return request({
    url: '/onm/event/base/warningAnalysis/getWarningAnalysis',
    method: 'get',
    params
  })
}

// 获取预警数量统计
export function getCount(params) {
  return request({
    url: '/onm/event/base/warningAnalysis/getCount',
    method: 'get',
    params
  })
}